


/** 纽扣数据 */
export class ButtonData_blxf {

    public constructor ( data: any ) {

        this.buttonId    = data[ 'buttonId' ];
        this.buttonType  = data[ 'buttonType' ] || 1;
        this.buttonIdNum = data[ 'num' ] || 1;
    }
   
    /** 纽扣id */
    buttonId    : number = -1;
    /** 纽扣类型 */
    buttonType  : number = -1;

    buttonIdNum : number = 1;

    /** 获取纽扣id */
    getButtonId_blxf () {
        return this.buttonId;
    }

    /** 获取纽扣类型 */
    getButtonType_blxf () {
        return this.buttonType;
    }

    getButtonIdNum_blxf () {
        return this.buttonIdNum;
    }
    
}
